package com.nxw.springcloud.admin.respository;

import com.nxw.springcloud.admin.entity.RateLimiterInfo;
import com.nxw.springcloud.admin.enums.EnvironmentEnum;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GatewayRateLimiterInfoDao extends JpaRepository<RateLimiterInfo,Long> {

    RateLimiterInfo findRateLimiterInfoByAppKeyAndEnvironment(String appKey, EnvironmentEnum environmentEnum);
}